package com.springboot.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.springboot.bean.TestBean;
import com.springboot.mapper.test2.Test2Mapper;

@Repository
public class Test2Dao {
	@Autowired
	private Test2Mapper test2Mapper;

	public TestBean getTestBeanById(String tableName, int id) {
		return test2Mapper.getTestBeanById(tableName, id);
	}

}
